class Tasks < ActiveRecord::Migration
  def self.up
    create_table :tasks do |t|
      t.column :task_name, :string
      t.column :user_id, :integer
      t.column :created_on, :datetime
      t.column :isCompleted, :boolean
    end
  end

  def self.down
    drop_table :tasks
  end
end
